package com.nbot.common.command.s2b;

import com.nbot.common.command.BotCommand;

/**
 * s2b
 * 报警指令
 */
public class ReportCommand extends S2bCommand {
    private String reportMsg;//点名和报警信息，如[四厂四区苏54-2站进气压力高停机]
    private String warnLevel;//紧急：1	重要：2	一般：3
    private String valueNow;//当前值为0或1

    public ReportCommand(String reportMsg,String warnLevel,String valueNow) {
        super(BotCommand.TYPE_S2B_REPORT);
        this.reportMsg = reportMsg;
        this.warnLevel = warnLevel;
        this.valueNow = valueNow;
    }

    public ReportCommand() {
        super(BotCommand.TYPE_S2B_REPORT);
    }


    public String getReportMsg() {
        return reportMsg;
    }

    public void setReportMsg(String reportMsg) {
        this.reportMsg = reportMsg;
    }

    public String getWarnLevel() {
        return warnLevel;
    }

    public void setWarnLevel(String warnLevel) {
        this.warnLevel = warnLevel;
    }

    public String getValueNow() {
        return valueNow;
    }

    public void setValueNow(String valueNow) {
        this.valueNow = valueNow;
    }
}
